package com.uzhie.media.task;

import com.alibaba.fastjson.JSONObject;
import com.uzhie.util.CacheManager;
import org.apache.log4j.Logger;

import java.util.concurrent.Callable;

/**
 * Created by TangFei on 2018/8/13.
 * CM cacheManager 泛型
 * T 返回值类型
 */
public abstract class CallableTask<T, CM> implements Callable<T> {

    protected Logger logger = Logger.getLogger(getClass());

    protected CacheManager<String, CM> cacheManager;
    protected JSONObject object;

    public CallableTask() {
    }

}
